<%@page language="java" pageEncoding="UTF-8"%>
<%@page import="org.firecloud.h5fun.model.CommonConfig"%>
<%@page import="org.firecloud.h5fun.model.javabean.*"%>
<%
	CommonConfig webconfig = (CommonConfig) request.getServletContext().getAttribute("commonConfig");
	ProjectBean project = (ProjectBean) request.getAttribute("project");
	ApplicationBean app = (ApplicationBean) request.getAttribute("application");
%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="css/common.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/page-edit-application.js"></script>
<title><%=webconfig.getTitle()%></title>
</head>
<body>
	<div class="doc">
		<jsp:include page="widget-head.jsp" />
		<div class="main-context main-context-label">
			<input id="application_id" value="<%=app.getId()%>" type="hidden" />
			<input style="margin: 3px; font-size: 16px;" type="button"
				class="height-light-input" id="save" value="保存" />
			<input id="name" type="text" class="height-light-input" style="display: inline-block;" value="<%=app.getName()%>" />
			<div class="main-context">
				<br />
				<iframe name="iframe"
					style="width: 100%; height: 610px; border: none; overflow: hidden;"
					allowfullscreen="true" src="<%=request.getAttribute("IframeUrl")%>"></iframe>
			</div>
		</div>
		<div class="main-context main-context-label">
			<div>介绍</div>
			<textarea id="context" style="height:150px;" class="height-light-input main-context"><%=app.getContext()%></textarea>
		</div>
		<jsp:include page="widget-foot.jsp" />
	</div>
</body>
</html>